package com.org.gsc.zsqdemo2;

import com.flyco.tablayout.listener.CustomTabEntity;



/**
 * Created by qundui on 2017/6/22.
 */

public class DemoCustomTabEntity implements CustomTabEntity {
    public String title;
    public int selectedIcon;
    public int unSelectedIcon;
    public DemoCustomTabEntity(String title, int iconSelectId, int iconUnselectId) {
        this.title=title;
        this.selectedIcon=iconSelectId;
        this.unSelectedIcon=iconUnselectId;
    }

    @Override
    public String getTabTitle() {
        return  title;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectedIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelectedIcon;
    }
}
